﻿using MyWeb.TaskGrpc.Context.Services;
using Quartz;

namespace MyWeb.TaskGrpc
{
    public class MyJob:IJob
    {
        private readonly IJobsService? _quartzService;
        public MyJob(IJobsService serviceProvider)
        {
            _quartzService = serviceProvider;
        }
        public Task Execute(IJobExecutionContext context)
        {
            // 具体的任务逻辑
            Console.WriteLine("==============Hello, world!");

            return Task.CompletedTask;
        }
    }
}
